import { get } from '@/utils/http';
import type { BaseResponse } from '@/types/response';
import type { ListGiftCardsResp } from '@/types/giftCard';

/**
 * 获取礼品卡列表
 * @returns 礼品卡列表
 */
export const listGiftCards = (): Promise<BaseResponse<ListGiftCardsResp[]>> => {
  return get('/giftCard/listGiftCards');
};
